package com.baidu.enumDemo;

public enum StudentEnum {
    ZHANGSAN(110, 31, "北京"),
    LISI(120, 23, "天津"),
    WANGWU(130, 48, "河北");

    private int id;

    private int age;

    private String addr;

    StudentEnum(int id, int age, String addr){
        this.id = id;
        this.age = age;
        this.addr = addr;
    }
}
